/**
 * 
 */
package com.main.memo;

import com.example.testapp01.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 * @author Jin
 *
 */
public class MemoViewActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_memo_view);
		
		TextView memoTitle = (TextView)findViewById(R.id.memo_view_title);
		TextView memoDate = (TextView)findViewById(R.id.memo_view_date);
		TextView memoContents = (TextView)findViewById(R.id.memo_view_contents);
		
		Intent intent = getIntent();
		
		memoTitle.setText(intent.getStringExtra("title"));
		memoDate.setText(intent.getStringExtra("date"));
		memoContents.setText(intent.getStringExtra("contents"));
	}
}
